Publishing an MPT File to SkylineGlobe Server

This example demonstrates how to publish an MPT file to SkylineGlobe Server. This example uses the TerraBuilder70 (OpenProject, SGServer), TBSGServer70 (Connect), and TBProject70 (PublishMPTToSG) properties and methods.

 

var project = TerraBuilder.OpenProject("C:\\Users\\Administrator\\Documents\\USA\\USA.tbp");

TerraBuilder.SGServer.Connect("http://www.skylineglobe.com/SG", "UserJon", "SamplePass");

project.PublishMPTToSG();